package c.e.a.b.b.h;

import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable.Creator;
import b.i.b.f;
import com.google.android.gms.common.Feature;
import com.google.android.gms.common.internal.zzb;

public final class k implements Creator<zzb> {
    public final Object createFromParcel(Parcel parcel) {
        int j1 = f.j1(parcel);
        Bundle bundle = null;
        Feature[] featureArr = null;
        while (parcel.dataPosition() < j1) {
            int readInt = parcel.readInt();
            int i = 65535 & readInt;
            if (i == 1) {
                bundle = f.d0(parcel, readInt);
            } else if (i != 2) {
                f.h1(parcel, readInt);
            } else {
                featureArr = (Feature[]) f.l0(parcel, readInt, Feature.CREATOR);
            }
        }
        f.q0(parcel, j1);
        return new zzb(bundle, featureArr);
    }

    public final /* synthetic */ Object[] newArray(int i) {
        return new zzb[i];
    }
}
